<?php
namespace app\models\request;

use yii\base\Model;

class ReqAppendQuestion extends Model
{

    private $suggestionId;

    private $content;

    private $userId;

    /**
     * @return mixed
     */
    public function getUserId()
    {
        return $this->userId;
    }

    /**
     * @param mixed $userId
     */
    public function setUserId($userId)
    {
        $this->userId = $userId;
    }



    /**
     * @return mixed
     */
    public function getSuggestionId()
    {
        return $this->suggestionId;
    }

    /**
     * @param mixed $suggestionId
     */
    public function setSuggestionId($suggestionId)
    {
        $this->suggestionId = $suggestionId;
    }

    /**
     * @return mixed
     */
    public function getContent()
    {
        return $this->content;
    }

    /**
     * @param mixed $content
     */
    public function setContent($content)
    {
        $this->content = $content;
    }







    public function rules()
    {
        return [
            [["suggestionId","content"], 'required'],

        ];
    }


}